package org.lg.framework.protocol.http;

import org.lg.framework.SpringContextUtils;
import org.lg.framework.provider.ProviderApplication;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


public class DispatchServlet extends HttpServlet {
    protected  void service(HttpServletRequest request, HttpServletResponse response){
       new  HttpHandler().handler(request,response, SpringContextUtils.getApplicationContext());
    }
}
